package Tongji_zifu;

public class MyMath_4_6 {
    public static void main(String[] args) {
        System.out.println("向下取整5.6"+"\t"+Math.floor(5.6));
        System.out.println("四舍五入    5.6"    +   Math.round(5.6));
        System.out.println("2的6次方"   +  Math.pow(2,6));
        System.out.println("2和6的最大值"   +   Math.max(2,6));
        System.out.println("1到100之间的随机数"   +   Math.random()*100+1);


    }
}
